how to delete a node at particular position